package com.example.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.Perminssion;
import com.example.repository.PerminssionRepository;

@Service
public class PerminssionService {
	
	@Autowired
	private PerminssionRepository perminssionRep;
	
	public List<Perminssion> list() {
		return perminssionRep.findAll();
	}
}
